Optimal. Leaf size=72 \[ -\frac{\sqrt{2 x+3} (139 x+121)}{3 \left (3 x^2+5 x+2\right )}-106 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+\frac{248}{3} \sqrt{\frac{5}{3}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0463592, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.148, Rules used = {818, 826, 1166, 207} \[ -\frac{\sqrt{2 x+3} (139 x+121)}{3 \left (3 x^2+5 x+2\right )}-106 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+\frac{248}{3} \sqrt{\frac{5}{3}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 818
Rule 826
Rule 1166
Rule 207
Rubi steps
\begin{align*} \int \frac{(5-x) (3+2 x)^{3/2}}{\left (2+5 x+3 x^2\right )^2} \, dx &=-\frac{\sqrt{3+2 x} (121+139 x)}{3 \left (2+5 x+3 x^2\right )}+\frac{1}{3} \int \frac{-302-143 x}{\sqrt{3+2 x} \left (2+5 x+3 x^2\right )} \, dx\\ &=-\frac{\sqrt{3+2 x} (121+139 x)}{3 \left (2+5 x+3 x^2\right )}+\frac{2}{3} \operatorname{Subst}\left (\int \frac{-175-143 x^2}{5-8 x^2+3 x^4} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{\sqrt{3+2 x} (121+139 x)}{3 \left (2+5 x+3 x^2\right )}+318 \operatorname{Subst}\left (\int \frac{1}{-3+3 x^2} \, dx,x,\sqrt{3+2 x}\right )-\frac{1240}{3} \operatorname{Subst}\left (\int \frac{1}{-5+3 x^2} \, dx,x,\sqrt{3+2 x}\right )\\ &=-\frac{\sqrt{3+2 x} (121+139 x)}{3 \left (2+5 x+3 x^2\right )}-106 \tanh ^{-1}\left (\sqrt{3+2 x}\right )+\frac{248}{3} \sqrt{\frac{5}{3}} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{3+2 x}\right )\\ \end{align*}
Mathematica [A] time = 0.0598495, size = 70, normalized size = 0.97 \[ \frac{1}{9} \left (-\frac{3 \sqrt{2 x+3} (139 x+121)}{3 x^2+5 x+2}-954 \tanh ^{-1}\left (\sqrt{2 x+3}\right )+248 \sqrt{15} \tanh ^{-1}\left (\sqrt{\frac{3}{5}} \sqrt{2 x+3}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.016, size = 86, normalized size = 1.2 \begin{align*} -{\frac{170}{9}\sqrt{3+2\,x} \left ( 2\,x+{\frac{4}{3}} \right ) ^{-1}}+{\frac{248\,\sqrt{15}}{9}{\it Artanh} \left ({\frac{\sqrt{15}}{5}\sqrt{3+2\,x}} \right ) }-6\, \left ( 1+\sqrt{3+2\,x} \right ) ^{-1}-53\,\ln \left ( 1+\sqrt{3+2\,x} \right ) -6\, \left ( -1+\sqrt{3+2\,x} \right ) ^{-1}+53\,\ln \left ( -1+\sqrt{3+2\,x} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.47368, size = 132, normalized size = 1.83 \begin{align*} -\frac{124}{9} \, \sqrt{15} \log \left (-\frac{\sqrt{15} - 3 \, \sqrt{2 \, x + 3}}{\sqrt{15} + 3 \, \sqrt{2 \, x + 3}}\right ) - \frac{2 \,{\left (139 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} - 175 \, \sqrt{2 \, x + 3}\right )}}{3 \,{\left (3 \,{\left (2 \, x + 3\right )}^{2} - 16 \, x - 19\right )}} - 53 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) + 53 \, \log \left (\sqrt{2 \, x + 3} - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.59148, size = 332, normalized size = 4.61 \begin{align*} \frac{124 \, \sqrt{5} \sqrt{3}{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (\frac{\sqrt{5} \sqrt{3} \sqrt{2 \, x + 3} + 3 \, x + 7}{3 \, x + 2}\right ) - 477 \,{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (\sqrt{2 \, x + 3} + 1\right ) + 477 \,{\left (3 \, x^{2} + 5 \, x + 2\right )} \log \left (\sqrt{2 \, x + 3} - 1\right ) - 3 \,{\left (139 \, x + 121\right )} \sqrt{2 \, x + 3}}{9 \,{\left (3 \, x^{2} + 5 \, x + 2\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09199, size = 138, normalized size = 1.92 \begin{align*} -\frac{124}{9} \, \sqrt{15} \log \left (\frac{{\left | -2 \, \sqrt{15} + 6 \, \sqrt{2 \, x + 3} \right |}}{2 \,{\left (\sqrt{15} + 3 \, \sqrt{2 \, x + 3}\right )}}\right ) - \frac{2 \,{\left (139 \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} - 175 \, \sqrt{2 \, x + 3}\right )}}{3 \,{\left (3 \,{\left (2 \, x + 3\right )}^{2} - 16 \, x - 19\right )}} - 53 \, \log \left (\sqrt{2 \, x + 3} + 1\right ) + 53 \, \log \left ({\left | \sqrt{2 \, x + 3} - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]